package com.heraleign.mybatis.service;

import com.heraleign.mybatis.bean.Student;

import java.util.List;

public interface StudentService {
    List<Student> selectList();

    Student selectStuById(Integer id);

    int saveStu(Student stu);

    int updateStu(Student stu);

    int deleteById(Integer id);

    Student queryStudentByName(String stuName);



}
